package com.love.marriage.userCommissionBalance.service;

import com.love.marriage.userCommissionBalance.vo.UserCommissionBalanceVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.love.marriage.userCommissionBalance.entity.UserCommissionBalance;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 用户回佣余额表 服务类
 * author: mybatisPlus
 * createDate: 2024-11-10 18:51:27
 * description: 我是由代码生成器生成
 * version: 1.0.0
 */
public interface UserCommissionBalanceService extends IService<UserCommissionBalance> {

    Page<UserCommissionBalanceVo> getPage(Long pageNum, Long pageSize, UserCommissionBalanceVo userCommissionBalanceVo);

    UserCommissionBalanceVo queryUserCommissionBalance(Long id);

    UserCommissionBalanceVo queryByUserId(Long userId);

    UserCommissionBalanceVo queryTotalCommissionByUserId(Long userId);

    UserCommissionBalanceVo addUserCommissionBalance(UserCommissionBalanceVo userCommissionBalanceVo);

    UserCommissionBalanceVo updateUserCommissionBalance(UserCommissionBalanceVo userCommissionBalanceVo);

    Boolean deleteUserCommissionBalance(String ids);
}
